package com.csust.automaticteach.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.csust.automaticteach.model.dto.amessage.AmessageQueryRequest;
import com.csust.automaticteach.model.entity.Amessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csust.automaticteach.model.vo.amessage.AmessageVO;

import java.util.List;

/**
* @author 钰玟
* @description 针对表【t_amessage(消息表)】的数据库操作Service
* @createDate 2025-08-20 14:54:00
*/
public interface AmessageService extends IService<Amessage> {
    /**
     * 获取查询条件
     * @param amessageQueryRequest 查询条件
     * @return 查询条件
     */
    QueryWrapper<Amessage> getAmessageQueryWrapper(AmessageQueryRequest amessageQueryRequest);
    /**
     * 获取VO
     * @param record 实体
     * @return VO列表
     */
    AmessageVO getAmessageVOList(Amessage record);
    /**
     * 获取VO列表
     * @param records 实体列表
     * @return VO列表
     */
    List<AmessageVO> getAmessageVOList(List<Amessage> records);
}
